import request from '@/utils/request'

// 登录接口
export const loginApi = (data) => request(
  {
    method: 'post',
    url: '/park/login',
    data
  }
)
export const getUserInfo = () => request(
  {
    method: 'get',
    url: '/sys/profile'
  }
)
// 修改密码
export const updatePassword = (data) => request(
  {
    url: '/sys/user/updatePass',
    method: 'put',
    data
  }
)

